package com.ruoyi.emergencyplan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急预案——应急响应记录对象 ep_resp_record
 * 
 * @author hcc
 * @date 2023-12-19
 */
public class EpRespRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应急响应记录ID */
    private String id;

    /** 响应编号 */
    @Excel(name = "响应编号")
    private String respCode;

    /** 事故名称 */
    @Excel(name = "事故名称")
    private String accidentName;

    /** 发生区域ID */
    @Excel(name = "发生区域ID")
    private String accidentAreaId;

    /** 发生区域名称 */
    @Excel(name = "发生区域名称")
    private String accidentArea;

    /** 预案ID */
    @Excel(name = "预案ID")
    private String planId;

    /** 所属预案名称 */
    @Excel(name = "所属预案名称")
    private String planName;

    /** 应急物资ID */
    @Excel(name = "应急物资ID")
    private String materialId;

    /** 应急物资编号 */
    @Excel(name = "应急物资编号")
    private String materialCode;

    /** 应急物资名称 */
    @Excel(name = "应急物资名称")
    private String materialName;

    /** 应急专家ID */
    @Excel(name = "应急专家ID")
    private String expertId;

    /** 应急专家名称 */
    @Excel(name = "应急专家名称")
    private String expertName;

    /** 小组ID */
    @Excel(name = "小组ID")
    private String teamId;

    /** 小组名称 */
    @Excel(name = "小组名称")
    private String teamName;

    /** 响应时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "响应时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date respTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateByName;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 排序 */
    @Excel(name = "排序")
    private Long sorting;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)； */
    @Excel(name = "状态, 默认1(1:正常；2:冻结；98:关闭；99:删除)；")
    private String status;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String extra4;

    /** 事故调查处理报告 */
    @Excel(name = "事故调查处理报告")
    private String accidentInvestigationAndHandlingReport;

    /** 采取措施 */
    @Excel(name = "采取措施")
    private String measure;

    /** 事故现场情况 */
    @Excel(name = "事故现场情况")
    private String accidentSiteCondition;

    /** 事故类型 */
    @Excel(name = "事故类型")
    private String accidentTypeId;

    /** 事故类型名称 */
    @Excel(name = "事故类型名称")
    private String accidentTypeName;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occurTime;

    /** 处理结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRespCode(String respCode) 
    {
        this.respCode = respCode;
    }

    public String getRespCode() 
    {
        return respCode;
    }
    public void setAccidentName(String accidentName) 
    {
        this.accidentName = accidentName;
    }

    public String getAccidentName() 
    {
        return accidentName;
    }
    public void setAccidentAreaId(String accidentAreaId) 
    {
        this.accidentAreaId = accidentAreaId;
    }

    public String getAccidentAreaId() 
    {
        return accidentAreaId;
    }
    public void setAccidentArea(String accidentArea) 
    {
        this.accidentArea = accidentArea;
    }

    public String getAccidentArea() 
    {
        return accidentArea;
    }
    public void setPlanId(String planId) 
    {
        this.planId = planId;
    }

    public String getPlanId() 
    {
        return planId;
    }
    public void setPlanName(String planName) 
    {
        this.planName = planName;
    }

    public String getPlanName() 
    {
        return planName;
    }
    public void setMaterialId(String materialId) 
    {
        this.materialId = materialId;
    }

    public String getMaterialId() 
    {
        return materialId;
    }
    public void setMaterialCode(String materialCode) 
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() 
    {
        return materialCode;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setExpertId(String expertId) 
    {
        this.expertId = expertId;
    }

    public String getExpertId() 
    {
        return expertId;
    }
    public void setExpertName(String expertName) 
    {
        this.expertName = expertName;
    }

    public String getExpertName() 
    {
        return expertName;
    }
    public void setTeamId(String teamId) 
    {
        this.teamId = teamId;
    }

    public String getTeamId() 
    {
        return teamId;
    }
    public void setTeamName(String teamName) 
    {
        this.teamName = teamName;
    }

    public String getTeamName() 
    {
        return teamName;
    }
    public void setRespTime(Date respTime) 
    {
        this.respTime = respTime;
    }

    public Date getRespTime() 
    {
        return respTime;
    }
    public void setCreateByName(String createByName) 
    {
        this.createByName = createByName;
    }

    public String getCreateByName() 
    {
        return createByName;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName) 
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName() 
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setSorting(Long sorting) 
    {
        this.sorting = sorting;
    }

    public Long getSorting() 
    {
        return sorting;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setExtra4(String extra4) 
    {
        this.extra4 = extra4;
    }

    public String getExtra4() 
    {
        return extra4;
    }
    public void setAccidentInvestigationAndHandlingReport(String accidentInvestigationAndHandlingReport) 
    {
        this.accidentInvestigationAndHandlingReport = accidentInvestigationAndHandlingReport;
    }

    public String getAccidentInvestigationAndHandlingReport() 
    {
        return accidentInvestigationAndHandlingReport;
    }
    public void setMeasure(String measure) 
    {
        this.measure = measure;
    }

    public String getMeasure() 
    {
        return measure;
    }
    public void setAccidentSiteCondition(String accidentSiteCondition) 
    {
        this.accidentSiteCondition = accidentSiteCondition;
    }

    public String getAccidentSiteCondition() 
    {
        return accidentSiteCondition;
    }
    public void setAccidentTypeId(String accidentTypeId) 
    {
        this.accidentTypeId = accidentTypeId;
    }

    public String getAccidentTypeId() 
    {
        return accidentTypeId;
    }
    public void setAccidentTypeName(String accidentTypeName) 
    {
        this.accidentTypeName = accidentTypeName;
    }

    public String getAccidentTypeName() 
    {
        return accidentTypeName;
    }
    public void setOccurTime(Date occurTime) 
    {
        this.occurTime = occurTime;
    }

    public Date getOccurTime() 
    {
        return occurTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("respCode", getRespCode())
            .append("accidentName", getAccidentName())
            .append("accidentAreaId", getAccidentAreaId())
            .append("accidentArea", getAccidentArea())
            .append("planId", getPlanId())
            .append("planName", getPlanName())
            .append("materialId", getMaterialId())
            .append("materialCode", getMaterialCode())
            .append("materialName", getMaterialName())
            .append("expertId", getExpertId())
            .append("expertName", getExpertName())
            .append("teamId", getTeamId())
            .append("teamName", getTeamName())
            .append("respTime", getRespTime())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("sorting", getSorting())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("extra4", getExtra4())
            .append("accidentInvestigationAndHandlingReport", getAccidentInvestigationAndHandlingReport())
            .append("measure", getMeasure())
            .append("accidentSiteCondition", getAccidentSiteCondition())
            .append("accidentTypeId", getAccidentTypeId())
            .append("accidentTypeName", getAccidentTypeName())
            .append("occurTime", getOccurTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
